package com.qianfeng.entity;

import java.io.Serializable;

/**
 * author: 田晋宇
 * datetime:2021/11/3 9:52
 * email:853796359@qq.com
 */
public class Goods implements Serializable {

    private Integer id;
    private String name;
    private String imgurls;
    private Double price;
    private String taste;
    private String packing;
    private String detail;
    private String type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgurls() {
        return imgurls;
    }

    public void setImgurls(String imgurls) {
        this.imgurls = imgurls;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }

    public String getPacking() {
        return packing;
    }

    public void setPacking(String packing) {
        this.packing = packing;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Goods(Integer id, String name, String imgurls, Double price, String taste, String packing, String detail, String type) {
        this.id = id;
        this.name = name;
        this.imgurls = imgurls;
        this.price = price;
        this.taste = taste;
        this.packing = packing;
        this.detail = detail;
        this.type = type;
    }
    public Goods(){

    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", imgurls='" + imgurls + '\'' +
                ", price=" + price +
                ", taste='" + taste + '\'' +
                ", packing='" + packing + '\'' +
                ", detail='" + detail + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
